import { request } from "../tools/request"

const { MD5 } = require('crypto-js');


module.exports = (query: object, data: object) => {

    return request('/account/login/ANDROID/4.0', 'post', {
        device_code:''
    }, {
        account: data['account'],
        password: MD5(data['password']).toString(),
        login_type: '2'
    });
}